﻿using System;
using System.Collections;
using UnityEngine;

public static class MathTool
{
    public static Vector2 AngleToVector(float angle)
    {
        return new Vector2(Mathf.Cos(angle/180*Mathf.PI), Mathf.Sin(angle/180*Mathf.PI));
    }
}
